package com.jkoss.wine.merchantSetting.service.impl;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.mapper.SqlHelper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.jkoss.wine.merchantSetting.entity.MerchantAsset;
import com.jkoss.wine.merchantSetting.mapper.MerchantAssetMapper;
import com.jkoss.wine.merchantSetting.service.IMerchantAssetService;

/**
 * 服务实现类
 * 
 * @Author chair
 * @Version 1.0, 2018-10-01
 * @See
 * @Since com.jkoss.wine.merchantSetting.service.impl
 * @Description: TODO
 */
@Service
public class MerchantAssetServiceImpl extends ServiceImpl<MerchantAssetMapper, MerchantAsset> implements IMerchantAssetService {

	@Override
	public Page selectVoPage(Page page, Wrapper wrapper) {
		SqlHelper.fillWrapper(page, wrapper);
		page.setRecords(baseMapper.selectVoByPage(page, wrapper));
		System.out.println(baseMapper.selectVoByPage(page, wrapper));
		return page;
	}

}
